package com.jiangyifen.robot.sdk;

import java.util.Date;

import com.jiangyifen.robot.sdk.response.BaseResponse;

public class SyncContext<T> {
	
	private long timeout = 5000;
	private Date requestTime = new Date();;
	
	private BaseResponse<T> response;
	
	public SyncContext(){
	}
	
	public long getTimeout() {
		return timeout;
	}
	public void setTimeout(long timeout) {
		this.timeout = timeout;
	}
	public Date getRequestTime() {
		return requestTime;
	}
	public void setRequestTime(Date requestTime) {
		this.requestTime = requestTime;
	}

	public BaseResponse<T> getResponse() {
		return response;
	}

	public void setResponse(BaseResponse<T> response) {
		this.response = response;
	}
	
	

}
